WPSecurityNinja\Plugin\Wf_Sn_Tests D

Total Complexity 284
Dependencies 2
Dependents 0
Total lines 2,810
Lines of code 1,672
Logical lines of code 912
Comment lines 673
Methods 59
Properties 1

Methods 59

Method Rating Maintainability Complexity Lines of code
incompatible_plugins()
B
39 16 60
content_security_policy()
A
43 15 43
old_plugins()
A
41 13 52
return_security_tests()
A
27
1 216
tim_thumb_scan()
A
44 11 47
bruteforce_login()
A
43 11 46
php_headers()
A
43 10 48
dangerous_files()
A
43 7 46
wp_header_meta()
A
45 7 41
wlw_meta()
S
45 6 41
rpc_meta()
S
45 6 41
core_updates_check()
S
52 7 24
salt_keys_check()
S
47 6 38
shellshock_6271()
S
47 6 35
check_server_ssl()
S
57 7 16
usernames_enumeration()
S
49 6 30
deactivated_themes()
S
46 5 40
shellshock_7169()
S
47 5 35
check_failed_login_info()
S
49 5 31
salt_keys_age_check()
S
52 5 24
themes_ver_check()
S
54 5 22
x_frame_options()
S
47 4 36
db_password_check()
S
54 5 21
x_content_type_options()
S
48 4 35
ver_check()
S
55 5 19
referrer_policy()
S
48 4 34
strict_transport_security()
S
48 4 34
mysql_external()
S
54 5 19
feature_policy()
S
48 4 33
rest_api_enabled()
S
51 4 29
uploads_browsable()
S
51 4 25
config_chmod()
S
51 4 24
mysql_permissions()
S
54 4 21
deactivated_plugins()
S
52 4 21
admin_ssl()
S
55 4 19
debug_log_file_check()
S
55 4 19
plugins_ver_check()
S
58 4 14
db_table_prefix_check()
S
60 4 12
mysql_ver()
S
54 3 21
php_ver()
S
56 3 19
tim_thumb()
S
56 3 17
application_passwords()
S
58 3 16
expose_php_check()
S
58 3 15
anyone_can_register()
S
58 3 15
safe_mode_check()
S
58 3 15
file_editor()
S
62 3 11
debug_check()
S
62 3 11
script_debug_check()
S
62 3 11
try_login()
S
65 3 8
config_location()
S
59 2 14
rest_api_links()
S
59 2 14
blog_site_url_check()
S
60 2 13
register_globals_check()
S
60 2 13
allow_url_include_check()
S
60 2 13
db_debug_check()
S
61 2 12
id1_user_check()
S
61 2 12
display_errors_check()
S
61 2 12
user_exists()
S
62 2 11
dictionary_attack()
S
66 2 8